package yl.hs.bmipfull.pojo.flow;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

/**
 * 作用:  流程节点参与者实体类<br/>
 * 创建时间: 2021年06月22日 17时41分27秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "流程节点参与者", mapCode = "flow_node_handlers")
public class FlowNodeHandlersEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "流程节点参与者编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "FLNH")
    private String sn;
    /**
     * 参与者编号
     */
    private String participantSN;
    /**
     * 参与者名称
     */
    private String participantName;
    /**
     * 参与者名称拼音
     */
    private String participantNamePY;
    /**
     * 节点编号
     */
    private String nodeSN;
    /**
     * 流程编号
     */
    private String flowSN;

    public FlowNodeHandlersEntity() {
    }

    public FlowNodeHandlersEntity(String participantSN, String participantName, String nodeSN, String flowSN) {
        this.participantSN = participantSN;
        this.participantName = participantName;
        this.nodeSN = nodeSN;
        this.flowSN = flowSN;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getParticipantSN() {
        return this.participantSN;
    }

    public void setParticipantSN(String participantSN) {
        this.participantSN = participantSN;
    }

    public String getParticipantName() {
        return this.participantName;
    }

    public void setParticipantName(String participantName) {
        this.participantName = participantName;
    }

    public String getParticipantNamePY() {
        return this.participantNamePY;
    }

    public void setParticipantNamePY(String participantNamePY) {
        this.participantNamePY = participantNamePY;
    }

    public String getNodeSN() {
        return this.nodeSN;
    }

    public void setNodeSN(String nodeSN) {
        this.nodeSN = nodeSN;
    }

    public String getFlowSN() {
        return this.flowSN;
    }

    public void setFlowSN(String flowSN) {
        this.flowSN = flowSN;
    }
}